<?php

		$arr_remain = array();
		$con = mysql_connect("localhost","root","mymachbiAm9");
		if (!$con)
		  {
		  die('Could not connect: ' . mysql_error());
		  }
		
		mysql_select_db("ikano", $con);

		$data = isset($_REQUEST['textString'])?$_REQUEST['textString']:'';
			
		$str_sql = "SELECT * FROM data order by id DESC";
		
						$result = mysql_query($str_sql);
?>
		<center>
		<h1 style="color: red">DATA FROM IKANO BANNER FLASH</h1>
		<table border="1" width="70%">		
		<tr>
			<td width='10%' align="center" bgcolor="brown" style="color: white">ID</td>
			<td width='60%' align="center" bgcolor="brown" style="color: white">Text</td>
		</tr>
<?php 						
		while($row = mysql_fetch_array($result))
		  {
?>
			<tr>
<?php 		  
		  echo "<td width='10%'>".$row['id'] . "</td><td width='60%'>" . $row['text']."</td>";		  
		  
		  }
?>
			</tr>
		</table>
		</center>
<?php 		  
		
		mysql_close($con);
?>
